.image-upscale-right-content {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 10px 20px;
  color: #ced3d9;
  //   border-left: 2px solid #6d6f73;
  position: relative;
  min-height: 100%;
  height: 100%;

  .right-line {
    height: 100%;
    left: 0;
    top: 0;
    width: 1px;
    position: absolute;
    background: linear-gradient(
      to bottom,
      #6d6f735d 0%,
      #8f8fa7 20%,
      #5c5b78 70%,
      #4d4f527a 100%
    );
    opacity: 0.3;
    border-radius: 50%;
    transition: 0.3s;
  }
  .mobile-back-btn {
    margin-top: 15px;
    width: 35px;
    height: 35px;
    margin-bottom: 10px;
    display: none;
  }
  &:hover {
    .right-line {
      opacity: 0.7;
      //   border-radius: 10%;
    }
  }
  .grop-title {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0 10px 0;
    user-select: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    .icon {
      margin-left: 10px;
      display: inline-block;
      width: 30px;
      height: 30px;
      cursor: pointer;
      transition: 0.3s;
      &:active {
        transform: scale(0.97);
      }
    }
  }
  .grop-content {
    display: flex;
    flex-direction: row;
    gap: 10px;
    user-select: none;
    flex-wrap: wrap;
    .choice-btn {
      min-width: 80px;
      height: 30px;
      border-radius: 5px;
      background-color: #4d4f52;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      cursor: pointer;
      transition: 0.3s;
      padding: 0 20px;
      &:hover {
        color: #8684d7;
      }
      &:active {
        transform: scale(0.95);
      }
    }
    .choice-btn-active {
      min-width: 80px;
      height: 30px;
      border-radius: 5px;
      background-color: #5c5b78;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      cursor: pointer;
      transition: 0.3s;
      padding: 0 20px;

      &:active {
        transform: scale(0.95);
      }
    }
    .cell-btn {
      width: 100%;
      min-height: 50px;
      border-radius: 5px;
      background-color: #4d4f52;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      font-size: 14px;
      cursor: pointer;
      transition: 0.3s;
      padding: 0 10px;
      &:hover {
        color: #8684d7;
      }
      &:active {
        transform: scale(0.97);
      }
    }
    .cell-btn-active {
      width: 100%;
      min-height: 50px;
      border-radius: 5px;
      background-color: #5c5b78;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      cursor: pointer;
      transition: 0.3s;
      padding: 0 10px;
      flex-direction: column;

      &:active {
        transform: scale(0.97);
      }
    }
    .cell-btn,
    .cell-btn-active {
      overflow: hidden;
      .cell-btn-wapper {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 5px 0;
      }
      .left-content {
        margin-right: auto;
        display: flex;
        flex-direction: column;
        align-content: center;
        .name {
          font-size: 16px;
          font-weight: 500;
          white-space: nowrap;
        }
        .span {
          font-size: 13px;
          white-space: nowrap;
        }
      }

      .icon {
        width: 20px;
        height: 20px;
        margin-left: 10px;
      }
      .load-progress {
        width: 100%;
        --progress-width: 100%;
        height: 3px;
        background-color: #657a9148;
        border-radius: 10px;
        overflow: hidden;
        margin: 10px 0;

        .progress-bar {
          height: 100%;
          background-color: #71a5dd;
          transition: 0.3s;
          position: relative;
          overflow: hidden;
          .back-color {
            width: var(--progress-width);
            position: absolute;
            height: 100%;
            background: linear-gradient(to right, #995faa, #2c79cb);
            top: 0;
            left: 0;
          }
        }
      }
    }

    .range {
      width: 100%;
      display: flex;
      align-items: center;
      accent-color: #7f84d7;
    }
    .range-text {
      font-weight: 500;
      color: #fff;
      white-space: nowrap;
    }
  }
}

@media screen and (max-width: 768px) {
  .image-upscale-right-content {
    padding: 10px 10px;
    .mobile-back-btn {
      display: block;
    }
    .grop-content {
      .cell-btn,
      .cell-btn-active {
        &:active {
          transform: scale(1);
        }
      }
    }
  }
}
